﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Dto.YS
{
    public class ErpSendOrderDTO
    {
        /// <summary>
        /// 送货单编号
        /// </summary>
        public string BillNo { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime BillDate { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomName { get; set; }
        /// <summary>
        /// 收货单位
        /// </summary>
        public string SendOrgan { get; set; }
        /// <summary>
        /// 收货地址
        /// </summary>
        public string SendAddress { get; set; }

        public List<ErpSendOrderItems> items { get; set; }

    }
    public class ErpSendOrderItems
    {
        public string MaterialCode { get; set; }

        public string MaterialName { get; set; }
        /// <summary>
        /// 材料规格型号
        /// </summary>
        public string ModelSpec { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 发货数量
        /// </summary>
        public decimal Qty { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo { get; set; }
        /// <summary>
        /// 供应商代码（VMI物料使用）
        /// </summary>
        public string SupplierCode { get; set; }
        /// <summary>
        /// 供应商名称（VMI物料使用）
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 发货仓库代码（仓库）
        /// </summary>
        public string StockCode { get; set; }
        /// <summary>
        /// 发货仓库名称
        /// </summary>
        public string StockName { get; set; }
        /// <summary>
        /// 仓位编码
        /// </summary>
        public string SPCode { get; set; }
        /// <summary>
        /// 仓位名称
        /// </summary>
        public string SPName { get; set; }
        
    }
}
